﻿using System.Collections.Generic;

namespace Repositories.Repository
{
    public interface IRepository<T,ID>
    {
        T Get(ID id);
        IList<T> GetList();

        int Insert(T value);
        int Update(T value);
        int Delete(T value);

        int InsertList(IList<T> list);
        int UpdateList(IList<T> list);
        int DeleteList(IList<T> list);
    }
}